Release 10.1A: OpenEdge Development:
Progress 4GL Reference
SUPER function
Runs the super version of the current user-defined function.
This language element must appear within a user-defined function, but can appear anywhere within the user-defined function. If this language element does not appear within a user-defined function, the compiler reports an error.
Syntax
parameterA parameter of the super version of the current user-defined function. These parameters must have the same signature (number of parameters, and type and mode of each) as the parameters of the current user-defined function. You can, however, adjust a parameter’s value.
For the
parametersyntax, see the Parameter definition syntax reference entry in this book.If a user-defined function can not be located in any super procedure, Progress generates the following error message:
Errors are stored in the ERROR-STATUS handle when NO-ERROR is specified.
ExampleFor an example of the SUPER function, see the RUN SUPER statement reference entry in this book.
Notes
- To run the super version of an internal procedure, use the RUN SUPER statement.
- For the rules that Progress uses to find the super version of the current user-defined function, see the ADD-SUPER-PROCEDURE( ) method reference entry in this book.
- For an overview of super procedures, see OpenEdge Development: Progress 4GL Handbook .
See also
ADD-SUPER-PROCEDURE( ) method, REMOVE-SUPER-PROCEDURE( ) method, RUN SUPER statement, SOURCE-PROCEDURE system handle, SUPER-PROCEDURES attribute, TARGET-PROCEDURE system handle
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |